home *** CD-ROM | disk | FTP | other *** search
- April 22, 1989
-
-
- DIRDEL - Directory Delete, Version 1.22
-
- WARNING - It is assumed that you, the user, know exactly what
- you are doing in using this program. You can inadvertently
- delete an entire sub-directory tree with a single command.
-
- New to the version 1.2x series is the ability to delete Read
- Only, Hidden and System files and directories. Also new is the
- ability to delete the current directory (i.e. you don't have to
- move out of a directory in order to delete it). These are
- capabilities that DOS and most file utilities leave out -
- probably for the protection of the unsophisticated user.
-
- Before using this program on a routine basis, it is recommended
- that you experiment with it on some test directories until you
- are satisfied that the program works as you would expect it to
- based on your understanding of the instructions below.
-
- If you have seen or used previous versions of this program, you
- might notice its smaller size. Although more powerful, it is
- less than one-half the size of version 1.10, for example.
-
- Versions prior to 1.20 were written in the C language. The
- current 1.2x series is written entirely in Modula-2.
-
- -----------------------------------------------------------------
-
- Version 1.22 corrects a minor bug in version 1.21 that would
- change the default drive to that of the target directory after
- successfully deleting a directory not on the current disk.
- Although minor, this is still a bug, as programs should perform
- exactly as the programmer intends and not as a result of
- carelessness.
-
- -----------------------------------------------------------------
-
- To delete a directory and all included files and directories,
- specify the directory to delete from the command line.
-
- Usage: dirdel dirname
-
- There are no command-line switches. If what you type as the
- directory name is a valid one, it and its contents are simply
- deleted after you answer in the affirmative to the initial
- precautionary prompt.
-
- In specifying the directory to delete, you may optionally
- include a drive letter followed by a colon. You may also
- include the complete path, preceded by a backslash, starting
- from the root directory of the target drive. Otherwise, the
- current default directory of the target drive will be used.
-
- Examples: dirdel junk
- dirdel \bin
- dirdel d:\test\test2
-
- I wrote the original version of this little utility during a
- period when I had an extensive C library of source and object
- code to maintain. I organized these files using a complex
- directory tree structure.
-
- During this period, I was frequently backing up and restoring
- this library between two different hard-disk systems. For
- conservatism, during the restore process, I had a batch file
- rename the previous existing start directory to a temporary
- name, later to be deleted. It was having to do this deletion
- process almost on a daily basis which started me looking for an
- easier way.
-
- At the time, I wasn't aware of any program, commercial or
- otherwise, which would allow me to delete an entire directory
- tree using a single command. Therefore, I proceeded to write my
- own. DIRDEL is the result.
-
- Although, I am now aware of other programs that can do the same
- job, I continue to use DIRDEL because, as a stand-alone utility,
- it is simple to use and compact. Having it on my PATH, it is as
- convenient and accessible as any intrinsic DOS command.
-
- I invited any user with a genuine interest in the program to
- contact me with comments, suggestions and questions about the
- program. I will attempt to reply whenever possible. You may
- reach me electronically at the addresses below:
-
- Raymond T. Kaya
-
- CompuServe: 71230,2500
- GEnie: R.KAYA1